#define _CRT_SECURE_NO_WARNINGS 1

#include  <stdio.h>
#include<math.h>

int prime_n(long long n)
{
	long long i = 0;
	for (i = 2; i <= sqrt(n); i++)
	{
		if (n % i == 0)
		{
			return 1;
		}
	}
	return 0;
}

int main()
{
	long long n = 0;
	long long p = 3;
	long long  q = 0;
	int a = 1;
	scanf("%d", &n);
	if (n > 2 && n <= 2000000000 && n % 2 == 0)
	{
		while(a)
		{
				q = n - p;
				a = prime_n(q);
				if (a == 0)
				{
					break;
				}
				while (a)
				{
					 p += 1;
					 a = prime_n(p);
				}
				a = 1;
		}
		printf("%d = %d + %d", n, p, q);
	}
	
	return 0;
}

